<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php echo $this->Html->css('style'); ?>
<?php echo $this->Html->script('merged');
//echo $this->Html->script('prototype');
//echo $this->Html->script('scriptaculous/prototype');
//echo $this->Html->script('scriptaculous/effects');
//echo $this->Html->script('scriptaculous/controls');

?>
<script type="text/javascript" language="javascript">
jQuery.noConflict();
	jQuery(document).ready(function() {
		jQuery('#StaffUsername').keyup(function () {
                    var username = jQuery.trim(jQuery("#StaffUsername").val());
                    if(username != ""){
                      jQuery("#StaffUsername").removeClass('error');
                      jQuery("#userError").html("");
                    }
		})
                
                jQuery('#StaffPassword').keyup(function () {
                    var username = jQuery.trim(jQuery("#StaffPassword").val());
                    if(username != ""){
                      jQuery("#StaffPassword").removeClass('error');
                      jQuery("#passError").html("");
                    }
		})
                
                jQuery(document).ready(function() {
			jQuery(':text:first').focus();
		});
	});
</script>
<title>eProbono</title>
</head>
<body>
<!--wrapper Start-->
<div class="wrapper">
  <!-- Header Starts -->
  <?php
      echo $this->element('home_header');
  ?>
  <!-- Header End -->
  <!-- Banner Widget Starts -->
  <div class="banner-widget">
    <div class="slider"><?php echo $this->Html->image("slide-1.jpg", array('width'=>"639", 'height'=>"276", 'alt'=>"E Law"));?></div>
    <div class="login-form">
        <?php 
        if ($this->params['controller'] == 'users') {
            if ($this->action == 'loggedbyother') {
                echo $this->element('logged_by_other');
            }
        } else{
            echo $this->element('login');
        }
         ?>
    </div>
  </div>
  <!-- Banner Widget End -->
  <!-- content Widget Starts -->
  <div class="content-widget">
    <div class="welcome">
      <?php echo $this->fetch('content'); ?>
    </div>
    
  </div>
  <!-- content Widget Starts -->
</div>
<!--wrapper End-->
<!--Fotter Start-->
<?php
      echo $this->element('saas_footer');
  ?>
<!--Fotter End-->
<?php echo $this->Js->writeBuffer(); // Write cached scripts?>
</body>
</html>
